const container = document.getElementById('container'), 
      registerBtn = document.getElementById('register'),
      loginBtn = document.getElementById('login')

registerBtn.addEventListener('click', () => {
  container.classList.add('active')
})

loginBtn.addEventListener('click', () => {
  container.classList.remove('active')
})